package cube.utils.msg;

/**
 * 标签-值对
 * 
 * @author abiao
 */
public class LabelValue {

    /**
     * msg's label
     */
    private String label;

    /**
     * msg's value
     */
    private String value;

    /**
     * label-value
     */
    public LabelValue(String label, String value) {
        this.label = label;
        this.value = value;
    }

    /**
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String toString() {
        return "[" + label + ", " + value + "]";
    }
}
